<include file="Admin/index" />
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table border="1" align="center">
    <tr>

        <th>油品类型</th>
        <th>创建时间</th>
        <th>更新时间</th>
        <th>操作</th>
    </tr>
    <volist name="list" id="vo">
        <tr>

            <td>{$vo.name}</td>
            <td>{$vo.create_time}</td>
            <td>{$vo.update_time}</td>
            <td>
                <a href="/index.php?c=oil&a=delete&id={$vo.id}" style="background-color:#F00" id="delete">删除</a>
                <a href="/index.php?c=oil&a=update&id={$vo.id}">修改</a>
                <a href=" {:U('Oil/find',array('id'=>$vo['id']))}">查看</a>
            </td>
        </tr>
    </volist>

</table>
<div align="center">

    <a href="/index.php?c=oil&a=add">增加油品类型</a>
</div>
</body>
</html>